<div id="user_login" class="box">
<form action="<?php echo tos_router_url(array('m' => 'user', 'a' => 'login'));?>" method="post" accept-charset="utf-8">
<div>Username:</div>
<div><input name="username" class="text" type="text" value="<?php $this->write('username');?>" /></div>
<div>Password:</div>
<div><input name="password" class="text" type="password" value="" /></div>
<?php if ($this->get_data('error')):?>
<div class="error"><?php $this->write('error');?></div>
<?php endif;?>
<div><input class="submit" type="submit" value="submit" /></div>
</form>
</div>